package com.pms.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 停车位实体类
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Parking {
    private static final long serialVersionUID = 1L;

    // 停车位id
    private Integer id;

    // 所属小区id
    private Integer communityId;

    // 停车位编号
    private String number;

    // 停车位状态  2：闲置，3：出租，4：已售
    private Integer statusId;

    // 停车位所属业主id
    private Integer ownerId;

    //更新时间
    private LocalDateTime updateTime;
}
